<template>
  <div id="app">
    <el-cascader v-model="value" :options="options" @change="handleChange">
    </el-cascader>
  </div>
</template>

<script>
export default {
  name: "App",
  //数据
  data() {
    return {
      value: [],
      options: [
        {
          value: "zhinan",
          label: "指南",
          children: [
            {
              value: "yi",
              label: "指南",
            },
          ],
        },
      ],
    };
  },
  //组件
  components: {},
  //方法
  methods: {
    handleChange:function(value){
      console.log(value);
    }
  },
  //计算属性
  computed: {},
  //生命周期
  mounted() {},
};
</script>
<style lang='scss' scoped>
</style>